﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace App.Model
{
    public class ZhiWu
    {
        public ZhiWu()
        {
            PowerTrees = new List<string>();
        }
        public List<string> PowerTrees { set; get; }
        //public KeShi keshi { set; get; }
        public int zwid { set; get; }
        public string zwmc { set; get; }
        //public List<SonZhiWu> SonZhiWeis { set; get; }
        /// <summary>
        /// 上级职务
        /// </summary>
        public virtual ZhiWu PZhiWei { set; get; }
        /// <summary>
        /// 路径
        /// </summary>
        public string zwpath { set; get; }
    }

    public class SonZhiWu
    {
        public SonZhiWu()
        {
            PowerTrees = new List<string>();
        }
        public List<string> PowerTrees { set; get; }
        public int zwid { set; get; }
        public string zwmc { set; get; }
        public int gzjhid { get; set; }
        public int jxkhid { get; set; }
        public int pid { get; set; }
    }
}
